package com.aptemo.webetek.client.events;

import com.google.gwt.event.shared.GwtEvent;

public class SportDeletedEvent
		extends GwtEvent<SportDeletedHandler>
{
	public static final GwtEvent.Type<SportDeletedHandler>	TYPE	= new GwtEvent.Type<SportDeletedHandler>();
	private String											mId;

	public SportDeletedEvent(String id)
	{
		this.mId = id;
	}

	@Override
	protected void dispatch(SportDeletedHandler handler)
	{
		handler.onSportDeleted(mId);
	}

	@Override
	public com.google.gwt.event.shared.GwtEvent.Type<SportDeletedHandler> getAssociatedType()
	{
		return TYPE;
	}

}
